<?php
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id' => 'horizontalForm',
    'type' => 'horizontal',
    'enableAjaxValidation' => false,
//    'action'=>Yii::app()->createUrl('');
        ));
?>
<legend>Entry SPTPD Pajak Hiburan</legend>
<br>

<?php echo $form->errorSummary($model); ?>

<div class="alert alert-success">A. Data Wajib Pajak </div>
<div class="form">
    <br>
    <div class="control-group">
        <label class="control-label" >No.SPTPD </label>
        <div class="controls">
            <input type="text" class="span3" readonly>         
            <label class="control-label" >Tgl. SPTPD</label>   
            <div style="position: absolute; right: 360px; top: 192px; width: 200px;">
                <div class="input-group">
                    <span class="input-group-addon"><i class="icon-calendar"></i></span>
                    <?php
                    $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                        'model' => $model,
                        'attribute' => 'tanggal_kk',
                        // additional javascript options for the date picker plugin
                        'options' => array(
                            'yearRange' => 'c-50:c+20',
                        ),
                    ));
                    ?>
                </div>
            </div>
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >NPWPD</label>

        <input type="text" class="span1" style="width: 30px;" readonly >
        <input type="text" class="span1" style="width: 20px;" readonly >
        -
        <input type="text" class="span2" readonly >
        -
        <input type="text" class="span1" style="width: 20px;" readonly >
        -
        <input type="text" class="span1" style="width: 30px;" readonly >
        <?php
        $this->widget('bootstrap.widgets.TbButton', array(
            'type' => 'info',
            'label' => 'Cari NPWPD (F9)',
            'htmlOptions' => array('id' => 'btn_pilih_lokasi')
        ));
        ?>
    </div>

    <div class="control-group"  style="width: 100%">
        <label class="control-label">Wajib Pajak </label>
        <div class="controls">
            <input type="text" class="span4" readonly>
        </div>
    </div>

    <div class="kanan" style="margin-left:50px;">
        <div class="control-group ">
            <label class="control-label">- Alamat </label>
            <div class="controls">
                <input type="text" class="span4" readonly >
            </div>
        </div>
        <div class="control-group ">
            <label class="control-label">- Kelurahan/Desa </label>
            <div class="controls">
                <input type="text" class="span3" readonly >
            </div>
        </div>
        <div class="control-group ">
            <label class="control-label">- Kecamatan </label>
            <div class="controls">
                <input type="text" class="span3" readonly >
            </div>
        </div>
        <div class="control-group ">
            <label class="control-label">- Kabupaten </label>
            <div class="controls">
                <input type="text" class="span3" readonly >
            </div>
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label">No.Rekening </label>
        <div class="controls">
            <input type="text" class="span2">
            <?php
            $this->widget('bootstrap.widgets.TbButton', array(
                'type' => 'info',
                'label' => 'F1',
                'htmlOptions' => array('id' => 'btn_pilih_lokasi')
            ));
            ?>
            <label class="control-label" >Nama Rekening</label>
            <input type="text" class="span3" readonly>
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Cara Hitung</label>         
        <div class="controls">       
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => 'Self Assessment (SA)',
                '1' => 'Office Assessment (OS)',
                    ), array('class' => 'span3'));
            ?>
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Masa Pajak</label>
        <div class="controls">
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => 'Self Assessment (SA)',
                '1' => 'Office Assessment (OS)',
                    ), array('class' => 'span3'));
            ?>            
        </div>
    </div>

    <div class="row-fluid" style="width: 100%">
        <div class="span4">
            <div class="control-group">
                <label class="control-label" >Tanggal</label>
                <div class="input-group">
                    <span class="input-group-addon"><i class="icon-calendar"></i></span>
                    <?php
                    $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                        'model' => $model,
                        'attribute' => 'tanggal_kk',
                        // additional javascript options for the date picker plugin
                        'options' => array(
                            'yearRange' => 'c-50:c+20',
                        ),
                    ));
                    ?>
                </div>
            </div>
        </div>        

        <div class="span4">
            <div class="control-group ">
                <label class="control-label" >Sampai Dengan</label>
                <div class="input-group">
                    <span class="input-group-addon"><i class="icon-calendar"></i></span>
                    <?php
                    $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                        'model' => $model,
                        'attribute' => 'tanggal_kk',
                        // additional javascript options for the date picker plugin
                        'options' => array(
                            'yearRange' => 'c-50:c+20',
                        ),
                    ));
                    ?>
                </div>
            </div>
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Tahun Pajak</label>
        <div class="controls">
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => '2014',
                '1' => '2015',
                '2' => '2016',
                '3' => '2017',
                    ), array('class' => 'span1'));
            ?>
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Nomor Kohir </label>
        <div class="controls">
            <input type="text" class="span2">

        </div>
    </div>
    
     <div class="control-group">
         <label class="control-label">Setoran Berdasarkan</label>
        <div class="controls">
            <?php
            echo $form->checkBoxList($model, 'nomor_kk', array(
                'SPTPD',
                'SKPD',
                'SKPDKB',
                'SKPDKBT',
                'SKPDT',
            ));
            ?>
        </div>
    </div>
</div>
<br>
<div class="alert alert-success">B. SPTPD </div>

<div class="form">
    <br>
    <div class="control-group ">
        <label class="control-label">No SPTPD </label>
        <div class="controls">
            <input type="text" class="span2">

        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Masa Pajak/Tahun</label>
        <div class="controls">
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => 'Januari',
                '1' => 'Februari',
                '1' => 'Maret',
                '1' => 'April',
                    ), array('class' => 'span3'));
            ?>
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => '2014',
                '0' => '2015',
                '0' => '2016',
                '0' => '2017',
                    ), array('class' => 'span1'));
            ?>
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label" >Omzet </label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0.00" >

        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Tarif </label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0" >
            %
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label" >Total Pajak</label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0.00" >

        </div>
    </div>
    <div class="control-group ">
        <label class="control-label" >Total Pajak Sesuai Masa Pajak</label>
        <div class="controls">
            <input type="text" class="span2" placeholder="0.00" >

        </div>
    </div>

    
</div>
<br>

<div class="alert alert-success">C. Informasi BPKP </div>
<div class="form">
    <br>
    <div class="control-group ">
        <label class="control-label">Via Setoran</label>
        <div class="controls">
            <?php
            echo $form->DropDownList($model, 'no_telepon', array(
                'prompt' => 'Pilih',
                '0' => 'BKP',
                '1' => 'Bank',
                    ), array('class' => 'span3'));
            ?>
        </div>
    </div>
    <div class="control-group ">
    <label class="control-label" >Jenis Setoran </label>
        <div class="controls">                
           <?php echo $form->radioButtonList($model, 'nomor_kk', array(
            'Tunai',
            'Non Tunai',
            )); ?>
        </div>
</div>
    <div class="control-group">
        <label class="control-label">Setoran</label>
        <div class="controls">
            <?php
            echo $form->checkBoxList($model, 'nomor_kk', array(
                'Diterima',
                'Cair',
            ));
            ?>
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Keterangan </label>
        <div class="controls">
            <textarea class="span3" ></textarea>
        </div>
    </div>
    

</div>   
<br>

<div class="alert alert-success">D. SSPD </div>

<div class="form">
    <br>
        <div class="control-group ">
        <label class="control-label">Bunga </label>
        <div class="controls">
            <input type="text" class="span1" placeholder="0" style="width: 50px;">
            % =
            <input type="text" class="span1" placeholder="0.00" readonly style="width: 150px;">
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label">Denda </label>
        <div class="controls">
            <input type="text" class="span1" placeholder="0" style="width: 50px;">
            % =
            <input type="text" class="span1" placeholder="0.00" readonly style="width: 150px;">
        </div>
    </div>

    <div class="control-group ">
        <label class="control-label" >Setoran </label>
        <div class="controls">
            <input type="text" class="span3" readonly placeholder="0.00" >
        </div>
    </div>
    <div class="control-group ">
        <label class="control-label" >Total Setoran </label>
        <div class="controls">
            <input type="text" class="span3" readonly placeholder="0.00" >
        </div>
    </div>
</div>


<div class="form-actions">
    <?php
    $this->widget('bootstrap.widgets.TbButton', array(
        'buttonType' => 'submit',
        'type' => 'primary',
        'label' => $model->isNewRecord ? 'Simpan' : 'Save',
    ));
    ?>
    <?php
    $this->widget('bootstrap.widgets.TbButton', array(
        'buttonType' => 'submit',
        'type' => 'primary',
        'label' => $model->isNewRecord ? 'Batal' : 'Reset',
    ));
    ?>

</div>


<?php $this->endWidget(); ?>